package com.ruoyi.business.service.wecom;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.dto.admin.wecom.WecomGroupMemberPageQueryDTO;
import com.ruoyi.business.domain.vo.wecom.admin.CustomerChatGroupDetailVO;
import com.ruoyi.business.domain.vo.wecom.admin.TbWecomCustomerChatGroupVO;
import com.ruoyi.business.domain.wecom.TbWecomChatGroupMember;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

import java.util.List;

public interface ITbWecomChatGroupMemberService extends IService<TbWecomChatGroupMember> {
    /**
     * @param pageQueryDTO
     * @param pageQuery
     * @return
     */
    TableDataInfo<TbWecomChatGroupMember> sysPageQuery(WecomGroupMemberPageQueryDTO pageQueryDTO, PageQuery pageQuery);


    List<TbWecomCustomerChatGroupVO> memberGroupList(Integer type, String unionId, String externalUserId, Long userId);


    /**
     * @param externalUserId
     * @param pageQuery
     * @return
     */
    TableDataInfo<CustomerChatGroupDetailVO> sysQueryPageByParam(String externalUserId, PageQuery pageQuery);
}
